package top.zy.service.zymallgoodsservice.spec.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.zy.service.zymallgoodsinterface.entity.SpecGroup;

import java.util.List;

@Mapper
public interface SpecGroupMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SpecGroup record);

    int insertSelective(SpecGroup record);

    SpecGroup selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SpecGroup record);

    int updateByPrimaryKey(SpecGroup record);

    List<SpecGroup> querySpecGroupByCategoryId(@Param("categoryId") Long categoryId);
}